home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
pctj8404.arc
/
TONEON.ASM
< prev
next >
Wrap
Assembly Source File
|
1986-09-14
|
512b
|
18 lines
; ROUTINE TO TURN ON TONE
;
toneon proc far
;
push ax ; save registers
;
; turn speaker and timer on
in al,61h ; get contents of system port
; B
or al,3 ; turn speaker and timer on
out 61h,al ; send out new values to port
; B
;
pop ax ; restore registers
ret
;
toneon endp